package com.tyk.bookstore.back.system.model.query;

import com.tyk.bookstore.back.common.core.model.page.PageQuery;
import com.tyk.bookstore.back.system.valid.annotation.PermissionFieldValid;
import com.tyk.bookstore.back.system.valid.type.PermissionFieldValidType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PermissionPageQuery extends PageQuery {

    @Schema(description = "权限名称(模糊)")
    private String name;

    @Schema(description = "权限字符串(模糊)")
    private String code;

    @Schema(description = "分组名称")
    private String groupName;

    @Schema(description = "创建时间: 开始时间")
    private LocalDateTime startTime;

    @Schema(description = "创建时间: 结束时间")
    private LocalDateTime endTime;

}
